<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>SimpleHire - AI简历评分系统</title>
    <link
      th:href="@{/webjars/bootstrap/5.3.0/css/bootstrap.min.css}"
      rel="stylesheet"
    />
    <link th:href="@{/css/style.css}" rel="stylesheet" />
  </head>
  <body>
    <div th:replace="fragments/header :: header"></div>

    <main class="container mt-5">
      <div class="p-5 mb-4 bg-light rounded-3">
        <div class="container-fluid py-5">
          <h1 class="display-5 fw-bold">SimpleHire AI简历评分系统</h1>
          <p class="col-md-8 fs-4">
            利用人工智能技术，快速分析和评分简历，帮助HR高效筛选候选人。
          </p>
          <a class="btn btn-primary btn-lg" th:href="@{/register}" role="button"
            >立即注册</a
          >
          <a
            class="btn btn-outline-secondary btn-lg ms-2"
            th:href="@{/login}"
            role="button"
            >登录</a
          >
        </div>
      </div>

      <div class="row align-items-md-stretch">
        <div class="col-md-6 mb-4">
          <div class="h-100 p-5 text-bg-dark rounded-3">
            <h2>AI简历解析</h2>
            <p>自动从简历中提取关键信息，包括教育背景、工作经历和技能。</p>
          </div>
        </div>
        <div class="col-md-6 mb-4">
          <div class="h-100 p-5 bg-light border rounded-3">
            <h2>智能评分</h2>
            <p>基于岗位要求，AI自动评估候选人匹配度并给出评分。</p>
          </div>
        </div>
      </div>
    </main>

    <div th:replace="fragments/footer :: footer"></div>

    <script
      th:src="@{/webjars/bootstrap/5.3.0/js/bootstrap.bundle.min.js}"
    ></script>
  </body>
</html>
